/**
 *  @(#)  IFAAAuthenticator  module    1.0  2017/03/24
 *
 *  Copyright  (c)  2017,  IFAA  and/or  its  affiliates.  All  rights  reserved.
 *
 *  Redistribution  and  use  in  source  and  binary  forms,  with  or  without
 *  modification,  are  permitted  provided  that  the  following  conditions  are  met:
 *
 *  -Redistribution  of  source  code  must  retain  the  above  copyright  notice,  this
 *    list  of  conditions  and  the  following  disclaimer.
 *
 *  -Redistribution  in  binary  form  must  reproduce  the  above  copyright  notice,
 *    this  list  of  conditions  and  the  following  disclaimer  in  the  documentation
 *    and/or  other  materials  provided  with  the  distribution.
 *
 *  Neither  the  name  of  IFAA  or  the  names  of  contributors  may
 *  be  used  to  endorse  or  promote  products  derived  from  this  software  without
 *  specific  prior  written  permission.
 *
 *  This  software  is  provided  "AS  IS,"  without  a  warranty  of  any  kind.  ALL
 *  EXPRESS  OR  IMPLIED  CONDITIONS,  REPRESENTATIONS  AND  WARRANTIES,  INCLUDING
 *  ANY  IMPLIED  WARRANTY  OF  MERCHANTABILITY,  FITNESS  FOR  A  PARTICULAR  PURPOSE
 *  OR  NON-INFRINGEMENT,  ARE  HEREBY  EXCLUDED.  IFAA,  ORG.
 *  AND  ITS  LICENSORS  SHALL  NOT  BE  LIABLE  FOR  ANY  DAMAGES  SUFFERED  BY  LICENSEE
 *  AS  A  RESULT  OF  USING,  MODIFYING  OR  DISTRIBUTING  THIS  SOFTWARE  OR  ITS
 *  DERIVATIVES.  IN  NO  EVENT  WILL  IFAA  OR  ITS  LICENSORS  BE  LIABLE  FOR  ANY  LOST
 *  REVENUE,  PROFIT  OR  DATA,  OR  FOR  DIRECT,  INDIRECT,  SPECIAL,  CONSEQUENTIAL,
 *  INCIDENTAL  OR  PUNITIVE  DAMAGES,  HOWEVER  CAUSED  AND  REGARDLESS  OF  THE  THEORY
 *  OF  LIABILITY,  ARISING  OUT  OF  THE  USE  OF  OR  INABILITY  TO  USE  THIS  SOFTWARE,
 *  EVEN  IF  IFAA  HAS  BEEN  ADVISED  OF  THE  POSSIBILITY  OF  SUCH  DAMAGES.
 *
 *  You  acknowledge  that  this  software  is  not  designed,  licensed  or  intended
 *  for  use  in  the  design,  construction,  operation  or  maintenance  of  any
 *  nuclear  facility.
 *
 */
package com.ifaa.sdk.auth;

/**
 * 
 * @author junsui.ljs
 * @version 1.0
 */
public class AuthInfo {

    /**
     * auth type fingerprint:1
     */
    protected int    type;

    /**
     * auth type fingerprint:1
     */
    protected int    vendor;

    /**
     * protocol type
     */
    protected int    protocolType;

    /**
     * protocol version
     */
    protected int    protocolVersion;

    /**
     * Phone Modle
     */

    protected String phoneModle;


    /**
     * device modle (aaid)
     */
    protected String deviceModel;

	/**
     * Constructor
     */
    public AuthInfo() {
        super();
    }

    /**
     * @param type
     * @param vendor
     * @param protocolType
     * @param protocolVersion
     */
    public AuthInfo(int type, int vendor, int protocolType, int protocolVersion, String phoneModle,
                    String deviceModel) {
        super();
        this.type = type;
        this.vendor = vendor;
        this.protocolType = protocolType;
        this.protocolVersion = protocolVersion;
        this.phoneModle = phoneModle;
        this.deviceModel = deviceModel;

    }


    /**
     * Getter method for property <tt>type</tt>.
     * 
     * @return property value of type
     */
    public int getType() {
        return type;
    }

    /**
     * Setter method for property <tt>type</tt>.
     * 
     * @param type value to be assigned to property type
     */
    public void setType(int type) {
        this.type = type;
    }

    /**
     * Getter method for property <tt>vendor</tt>.
     * 
     * @return property value of vendor
     */
    public int getVendor() {
        return vendor;
    }

    /**
     * Setter method for property <tt>vendor</tt>.
     * 
     * @param vendor value to be assigned to property vendor
     */
    public void setVendor(int vendor) {
        this.vendor = vendor;
    }

    /**
     * Getter method for property <tt>protocolType</tt>.
     * 
     * @return property value of protocolType
     */
    public int getProtocolType() {
        return protocolType;
    }

    /**
     * Setter method for property <tt>protocolType</tt>.
     * 
     * @param protocolType  value to be assigned to property protocolType
     */
    public void setProtocolType(int protocolType) {
        this.protocolType = protocolType;
    }

    /**
     * Getter method for property <tt>protocolVersion</tt>.
     * 
     * @return property value of protocolVersion
     */
    public int getProtocolVersion() {
        return protocolVersion;
    }

    /**
     * Setter method for property <tt>protocolVersion</tt>.
     * 
     * @param protocolVersion value to be assigned to property protocolVersion
     */
    public void setProtocolVersion(int protocolVersion) {
        this.protocolVersion = protocolVersion;
    }

    /**
     * Getter method for property <tt>phoneModle</tt>.
     * 
     * @return property value of phoneModle
     */
    public String getPhoneModle() {
        return phoneModle;
    }

    /**
     * Setter method for property <tt>phoneModle</tt>.
     * 
     * @param phoneModle value to be assigned to property phoneModle
     */
    public void setPhoneModle(String phoneModle) {
        this.phoneModle = phoneModle;
    }

    /**
     * Getter method for property <tt>getDeviceModel</tt>.
     * @return
     */
    public String getDeviceModel() {
        return deviceModel;
    }

    /**
     * Setter method for property <tt>setDeviceModel</tt>.
     * 
     */
    public void setDeviceModel(String deviceModel) {
        this.deviceModel = deviceModel;
    }

}
